﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RestSharp;
using WeiTalk.OAuth;

namespace WeiTalk.Interfaces
{
    public abstract class WeiBoAPIs
    {
        public RestClient Client
        {
            get;
            protected set;
        }
        public WeiBoAPIs(RestClient client)
        {
            Client = client;
            Client.Authenticator = new OAuth2UriQueryParameterAuthenticator(Utility.AccessToken.Token);
        }
    }
}
